$OpenBSD: patch-tests_ocpasswd-test,v 1.1.1.1 2015/03/26 02:07:59 sthen Exp $
--- tests/ocpasswd-test.orig	Thu Mar 26 01:53:52 2015
+++ tests/ocpasswd-test	Thu Mar 26 01:53:30 2015
@@ -45,7 +45,7 @@ if test $? != 0;then
 	exit 1
 fi
 
-grep -e "\:\!\$5" passwd.out >/dev/null 2>&1
+grep -e "\:\!\$2" passwd.out >/dev/null 2>&1
 if test $? != 0;then
 	echo "Failed locking user test. The exclamation mark wasn't found"
 	exit 1
